import request from '@/utils/request'
//登录
export function loginRequest (data) {
  return request({
    url: '/sys/login',
    method: 'post',
    data
  })
}
//获取用户信息
export function getUserInfo () {
  return request({
    url: '/sys/profile'
  })
}
//修改密码
export function updatePassRequest (data) {
  return request({
    url: '/sys/user/updatePass',
    method: 'put',
    data
  })
}

